package net.cloudcodex.shared.rpc;

import net.cloudcodex.shared.dto.Result;
import net.cloudcodex.shared.dto.home.HomeDTO;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>HomeRPC</code>.
 */
public interface HomeRPCAsync {

	public void getHome(AsyncCallback<Result<HomeDTO>> callback);

	public void register(String nickname, AsyncCallback<Result<Boolean>> callback);

}
